//var showCreateForm = false;
//
//function hostChangeFormMode() {
//    if (document.form1.editButton.disabled === false) {
//        document.form1.editButton.disabled = true;
//        document.form1.updateButton.disabled = false;
//        document.form1.cancelButton.disabled = false;
//
//        document.form1.firstnameText.disabled = false;
//        document.form1.lastnameText.disabled = false;
//        document.form1.sexText.disabled = false;
//        document.form1.birthdayText.disabled = false;
//        document.form1.emailText.disabled = false;
//        document.form1.phoneText.disabled = false;
//        document.form1.faxText.disabled = false;
//        document.form1.addressText.disabled = false;
//    }
//    else {
//        document.form1.editButton.disabled = false;
//        document.form1.updateButton.disabled = true;
//        document.form1.cancelButton.disabled = true;
//
//        document.form1.firstnameText.disabled = true;
//        document.form1.lastnameText.disabled = true;
//        document.form1.sexText.disabled = true;
//        document.form1.birthdayText.disabled = true;
//        document.form1.emailText.disabled = true;
//        document.form1.phoneText.disabled = true;
//        document.form1.faxText.disabled = true;
//        document.form1.addressText.disabled = true;
//    }
//}
//
//function hostHotelChangeFormMode() {
//    if (document.form1.editButton.disabled === false) {
//        document.form1.editButton.disabled = true;
//        document.form1.updateButton.disabled = false;
//        document.form1.cancelButton.disabled = false;
//
//        document.form1.nameText.disabled = false;
//        document.form1.addressText.disabled = false;
//        document.form1.phoneText.disabled = false;
//        document.form1.descriptionText.disabled = false;
//        document.form1.priceText.disabled = false;
//        document.form1.starText.disabled = false;
//    }
//    else {
//        document.form1.editButton.disabled = false;
//        document.form1.updateButton.disabled = true;
//        document.form1.cancelButton.disabled = true;
//
//        document.form1.nameText.disabled = true;
//        document.form1.addressText.disabled = true;
//        document.form1.phoneText.disabled = true;
//        document.form1.descriptionText.disabled = true;
//        document.form1.priceText.disabled = true;
//        document.form1.starText.disabled = true;
//    }
//}
//
//function hideCreateForm() {
//    document.createform.class = "hidden";
//    document.getElementsByName("createform").style.display = "none";
//}
//function showCreateForm() {
//    document.createform.class = "contact-form";
//}
//
//function showHide(divId) {
//    var theDiv = document.getElementById(divId);
//    if (theDiv.style.display === "none") {
//        theDiv.style.display = "";
//    } else {
//        theDiv.style.display = "none";
//    }
//}
//
//$(document).ready(function() {
//    $("#toggle-creating-form").click(function() {
//        $("#creating-form").toggle(1000);
//    });
//});